import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import product from './modules/product'
import signal from './modules/signal'
import service from './modules/service'
import clash from './modules/clash'
import graph from './modules/graph'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    user,
    product,
    signal,
    service,
    clash,
    graph
  },
  getters
})

export default store
